{meta_html css $j_basepath.'design/back/css/style.css'}
{meta_html css $j_basepath.'design/back/css/niceforms-default.css'}
{meta_html js $j_basepath.'design/back/js/niceforms.js'}
{meta_html js $j_basepath.'design/back/js/jquery-1.5.1.js'}
{meta_html js $j_basepath.'design/back/js/connexion.js'}

{literal}
	<SCRIPT LANGUAGE="JavaScript">
//D'autres scripts sur http://www.toutjavascript.com
//Si vous utilisez ce script, merci de m'avertir !  < webmaster@toutjavascript.com >
function PopupCentrer(page,largeur,hauteur,options) {
  var top=(screen.height-hauteur)/5;
  var left=(screen.width-largeur)/2;
  window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}
</SCRIPT>
{/literal}

<div id="main_container">
  <div class="header_login">
    <div class="logo">{image $j_basepath.'design/back/img/logo.png',array('title'=>'Auto-Occasion','alt'=>'Auto-Occasion')}</div>
  </div>
  <div class="login_form">
           <form action="{jurl 'jauth~login:in'}" method="post" id="loginForm" class="niceform">
         
                <fieldset>
                    <dl>
                        <dt><label for="login">Identifiant:</label></dt>
                        <dd><input type="text" name="login" id="login" size="54" value="{if isset($login)}{$login}{/if}"/></dd>
                    </dl>
                    <dl>
                        <dt><label for="password">Mot de passe:</label></dt>
                        <dd><input type="password" name="password" id="password" size="54" /></dd>
                    </dl>
                
                    <dl class="mp">
                    	<dt>&nbsp;</dt>
                        <dd><a class="oublie" href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'">Mot de passe oublié ?</a></dd>
                    </dl>
                                       
                     <dl class="submit">
                    <input type="submit" name="submit" id="submit" value="Entrer"/>
                     </dl>

                    {if $failed}
				    <p class="message">Identifiant ou mot de passe incorrect</p>
			        {/if}
                    <input type="hidden" name="auth_url_return" value="{if isset($auth_url_return)}{$auth_url_return}{/if}">
                </fieldset>
                
         </form>
			
         </div>  
</div>
<div id="light" class="white_content">
		<a class="close" href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none'">Fermer</a>
		<form class="mp_oubli" action="">
<h5>Récuperation mot de passe</h5>
	<div><label>Login : </label> <input type="text" value="" name="popin_login" id="popin_login" /> </div>
    <div><label>Adresse e-mail : </label> <input type="text" value="" name="popin_email" id="popin_email" /></div>
    <input type="hidden" name="urlCheckUser" id="urlCheckUser" value="{jurl 'admin~password:checkUser'}" />
    <p id="messageError" style="display:none;">Login ou adresse e-mail incorrect</p>
	<div class="btn"><a href="#" id="checkuser" class="valider" title="Valider"></a></div>
</form>
		</div>
		<div id="fade" class="black_overlay"></div>